﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Download.aspx.cs" Inherits="Download" ValidateRequest="false"%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>信管系简介-河北大学管理学院信息管理系</title>
    <link href="CSS/pagebody.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <div id="left">
       <div class="left-top">
      <div class="left-top-a">
        下载类别
    </div>
     <asp:Repeater ID="rptDownload" runat="server">
            <HeaderTemplate><ul></HeaderTemplate>
            <ItemTemplate>
                <li>
                    <a href='Download.aspx?dowType=<%#Eval("typeName")%>'><%#Eval("typeName")%></a>
                </li>
            </ItemTemplate>
            <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
</div>
</div>
    <div id="right">
        <div class="right-top">
            <div >
                您的当前位置：<a href="Default.aspx">首页</a> > <a href="Download.aspx?dowType=">文件下载</a> > <asp:Label
                    ID="lblTitleTop" runat="server"></asp:Label></div>
        </div>
        <div class="right-center">
            <ul>
                <asp:ListView ID="lvDownload" runat="server">
                    <ItemTemplate>
                        <li>
                            【<a href='Download.aspx?dowType=<%#Eval("dowType") %>'><%#Eval("dowType") %>】</a>  <a href='DownloadDetails.aspx?dowID=<%#Eval("dowID") %>'><%#Eval("dowTitle").ToString().Length > 16 ? Eval("dowTitle").ToString().Substring(0,16)+"..." : Eval("dowTitle").ToString()%></a>
                           <div style="float:right"> <%#Eval("dowHot").ToString()=="True"?"hot":""%> <%#Eval("dowOntop").ToString() == "True" ? "↑" : ""%><%#Eval("dowUpdateTime", "{0:d}").ToString()%></div>
                        </li>
                    </ItemTemplate>
                </asp:ListView>
            </ul>
            <br />
                       <asp:DataPager ID="download" runat="server" PagedControlID="lvDownload" 
                PageSize="10">
                <Fields>
                    <asp:NextPreviousPagerField ShowFirstPageButton="True" 
                        ShowNextPageButton="False" FirstPageText="&lt;&lt;" PreviousPageText="&lt;" />
                    <asp:NumericPagerField />
                    <asp:NextPreviousPagerField ShowLastPageButton="True"
                        ShowPreviousPageButton="False" LastPageText="&gt;&gt;" 
                        NextPageText="&gt;" />
                </Fields>
            </asp:DataPager>
        </div>
    </div>
</asp:Content>

